package com.redsoil.house.model.bean;

import java.util.List;

/**
 * Created by weidingqiang on 2019/1/7.
 */

public class ProductsVO {

    /**
     * pageConfig : {"totalPage":1,"pageSize":1,"page":1,"totalCount":1}
     * dataList : [{"originalPrice":100,"intro":"商品简介","pubTime":"","name":"你好","currentPrice":80,"stockQuantity":6,"id":"4d5548a47595426eb9e29205b8027e88","pic":"product/06ec87ecc5384e35b15178cfee6f159fjpg"}]
     */

    private PageConfigBean pageConfig;
    private List<DataListBean> dataList;

    public PageConfigBean getPageConfig() {
        return pageConfig;
    }

    public void setPageConfig(PageConfigBean pageConfig) {
        this.pageConfig = pageConfig;
    }

    public List<DataListBean> getDataList() {
        return dataList;
    }

    public void setDataList(List<DataListBean> dataList) {
        this.dataList = dataList;
    }

    public static class PageConfigBean {
        /**
         * totalPage : 1
         * pageSize : 1
         * page : 1
         * totalCount : 1
         */

        private int totalPage;
        private int pageSize;
        private int page;
        private int totalCount;

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }
    }

    public static class DataListBean {
        /**
         * originalPrice : 100
         * intro : 商品简介
         * pubTime :
         * name : 你好
         * currentPrice : 80
         * stockQuantity : 6
         * id : 4d5548a47595426eb9e29205b8027e88
         * pic : product/06ec87ecc5384e35b15178cfee6f159fjpg
         */

        private int originalPrice;
        private String intro;
        private String pubTime;
        private String name;
        private int currentPrice;
        private int stockQuantity;
        private String id;
        private String pic;

        public int getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(int originalPrice) {
            this.originalPrice = originalPrice;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public String getPubTime() {
            return pubTime;
        }

        public void setPubTime(String pubTime) {
            this.pubTime = pubTime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getCurrentPrice() {
            return currentPrice;
        }

        public void setCurrentPrice(int currentPrice) {
            this.currentPrice = currentPrice;
        }

        public int getStockQuantity() {
            return stockQuantity;
        }

        public void setStockQuantity(int stockQuantity) {
            this.stockQuantity = stockQuantity;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }
    }
}
